import com.njupt.pojo.TbUser;
import com.njupt.sso.service.UserService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 21:54 2018/6/3
 * @Modified By:
 **/
public class testUserService {

    @Test
    public void tetsUserService(){
        ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:spring/applicationContext-service.xml");

        UserService userService = ctx.getBean(UserService.class);
        TbUser tbUser = ctx.getBean(TbUser.class);
    }
}
